home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / WEDL203.ARJ / READ.ME < prev    next >
Text File  |  1992-07-30  |  3KB  |  107 lines

  1.  
  2.                          +----------------------+
  3.                          |  WEDL Release Notes  |
  4.                          +----------------------+
  5.  
  6.  
  7. 2.03 - July 30, 1992
  8. --------------------
  9.  
  10.     *   Minor enhancements and bug fixes.
  11.  
  12.  
  13. 2.02 - July 22, 1992
  14. --------------------
  15.  
  16.     *   Fixed bug that caused WEDL to require the SHELL.DLL library in order
  17.         to run on Windows 3.0 systems.
  18.  
  19.     *   A default error message will be displayed if an external error was not
  20.         handled by the external (programmer-written) error handler.
  21.  
  22.  
  23. 2.01 - June 30, 1992
  24. --------------------
  25.  
  26.     *   Improved display speed.
  27.  
  28.     *   Fixed numeric field bug.
  29.  
  30.     *   New form feature - FMF_COMPAT.  Windows compatibility feature. If a
  31.         newer version of Windows comes out, this feature may need to be
  32.         specified for compatibility.
  33.  
  34.  
  35. 2.00 - May 1, 1992
  36. ------------------
  37.  
  38.     *   Windows 3.1 compatibility.
  39.  
  40.     *   Improved field validation capabilities.
  41.  
  42.     *   Ability to handle internal WEDL errors (eg. Field Cannot Be Blank).
  43.  
  44.     *   Expanded context-sensitive help.  Forms can now have a default help
  45.         context for controls without an individual help context.
  46.  
  47.     *   Support for drag and drop.  Fields can accept drag and drop file
  48.         names from File Manager.  (On systems with Windows 3.1+ only)
  49.  
  50.     *   Enable-links.  Provide for automatic enabling/disabling of controls
  51.         based upon the condition of a field or button.
  52.  
  53.     *   Improved numeric data entry.
  54.  
  55.     *   3-Level Undo in fields.
  56.  
  57.     *   Ability to select text within a field.
  58.  
  59.     *   Improved clipboard support.
  60.  
  61.     *   Improved international support.
  62.  
  63.     *   Turbo Pascal for Windows support.
  64.  
  65.     *   Support for Borland's BWCC.DLL custom control library.
  66.  
  67.  
  68. Using WEDL with C++ and OWL:
  69. ----------------------------
  70.  
  71.     Create a derived class from OWL's TDialog class:
  72.  
  73.         class TMyDialog : public TDialog {
  74.             public:
  75.                 .....
  76.             private:
  77.                 HFORM hform;    // WEDL's form handle
  78.         }
  79.  
  80.     Define the form during the TMyDialog::SetupWindow virtual function:
  81.  
  82.         void TMyDialog::SetupWindow()
  83.         {
  84.             TDialog::SetupWindow();   // initialize base class
  85.             hform = form_begin( HWindow, ... );
  86.             // do all WEDL definitions (field_define, button_define, etc.)
  87.             form_end( hform );
  88.         }
  89.  
  90.     Save the form during the TMyDialog::CanClose virtual function:
  91.  
  92.         BOOL TMyDialog::CanClose()
  93.         {
  94.             if( form_validate( hform ) != NULL ) return( FALSE );
  95.             form_save( hform );
  96.             return( TRUE );
  97.         }
  98.  
  99.     Terminate the form during the TMyDialog::Destroy virtual function:
  100.  
  101.         void TMyDialog::Destroy( int return_value )
  102.         {
  103.             form_cancel( hform );
  104.             TDialog::Destroy( return_value );
  105.         }
  106.  
  107.